#pragma once
#include "AASInterface.h"
#include "CDMPlatformClient.h"

class CNvdManager
{
public:
	CNvdManager(void);
	~CNvdManager(void);

public:
	inline static CNvdManager& GetInstance(){
		static CNvdManager Inst;
		return Inst;
	}

	BOOL LoadNvdListFormAas();
	BOOL UpdateNvdList();
	const CNvdInfoArray& GetNvdList(){return m_NvdArray;}
	BOOL GetNvdByUid(CString strUid, NvdInfo* pInfo);

private:
	CNvdInfoArray m_NvdArray;
};

#define theNvdManager (CNvdManager::GetInstance())